package com.guicent.geekai.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@TableName("tb_chat_message")
public class ChatMessage {
    @TableId(type = IdType.AUTO)
    private Long messageId;
    private Long sessionId;
    private String sender; // "USER" 或 "AI"
    private String content;
    private LocalDateTime createTime;
}